projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9555e61
)
expander: Remove a pointless return
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 19 Jun 2020 18:15:55 +0000
(14:15 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 19 Jun 2020 19:26:47 +0000
(15:26 -0400)
GtkDropControllerMotion::enter does not expect
a boolean return value, so don't provide one.
gtk/gtkexpander.c
patch
|
blob
|
history
diff --git
a/gtk/gtkexpander.c
b/gtk/gtkexpander.c
index 396c7699898f9fb348875415a813e23c26064319..0ceff8679bc3be6e88e145e8d41c3ee8a94c353e 100644
(file)
--- a/
gtk/gtkexpander.c
+++ b/
gtk/gtkexpander.c
@@
-231,7
+231,7
@@
expand_timeout (gpointer data)
return FALSE;
}
-static
gboolean
+static
void
gtk_expander_drag_enter (GtkDropControllerMotion *motion,
double x,
double y,
@@
-242,8
+242,6
@@
gtk_expander_drag_enter (GtkDropControllerMotion *motion,
expander->expand_timer = g_timeout_add (TIMEOUT_EXPAND, (GSourceFunc) expand_timeout, expander);
g_source_set_name_by_id (expander->expand_timer, "[gtk] expand_timeout");
}
-
- return TRUE;
}
static void